# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-mtranslate
pkgver=1.8
pkgrel=2
pkgdesc="Google translate console script with easy to use API"
url="https://github.com/mouuff/mtranslate"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/m/mtranslate/mtranslate-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/mtranslate-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3519c46f9c0079025ae194d77099682535523de6b5d4a2c8ab0c3a3a2f657c44e3f282ae36b2101e1164c89cfc41f3018b0870d873c73c31fab27869e087c059  mtranslate-1.8.tar.gz"
